package ru.stepuk.modern;

/**
 *
 * @author ivan
 */
public class Request {

    private static int count = 0;
    private int priority = 0;
    private int id;

    public Request() {
        id = ++count;
    }

    public int getId() {
        return id;
    }

    public static void resetCount() {
        count = 0;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }
}
